package day04.interFace2;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/22
 */
public class USB implements Device {
    @Override
    public String readData() {
        return "从U盘读取数据";
    }

    @Override
    public void writeData(String data) {
        System.out.println("向U盘写入数据: " + data);
    }
}

